package cn.home.sysmanagement.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.home.common.annotation.Excel;
import cn.home.common.core.domain.BaseEntity;

/**
 * 轮播图对象 home_sildeimg
 * 
 * @author homedoctor
 * @date 2025-04-09
 */
public class HomeSildeimg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排序号 */
    private Long id;

    /** 轮播图标题 */
    @Excel(name = "轮播图标题")
    private String title;

    /** 轮播图片 */
    @Excel(name = "轮播图片")
    private String img;

    /** 链接 */
    @Excel(name = "链接")
    private String link;

    /** 轮播图状态 */
    @Excel(name = "轮播图状态")
    private Long status;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date relaseTime;

    /** 扩展1 */
    private String exp1;

    /** 扩展2 */
    private String exp2;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    public void setLink(String link) 
    {
        this.link = link;
    }

    public String getLink() 
    {
        return link;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setRelaseTime(Date relaseTime) 
    {
        this.relaseTime = relaseTime;
    }

    public Date getRelaseTime() 
    {
        return relaseTime;
    }

    public void setExp1(String exp1) 
    {
        this.exp1 = exp1;
    }

    public String getExp1() 
    {
        return exp1;
    }

    public void setExp2(String exp2) 
    {
        this.exp2 = exp2;
    }

    public String getExp2() 
    {
        return exp2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("img", getImg())
            .append("link", getLink())
            .append("status", getStatus())
            .append("relaseTime", getRelaseTime())
            .append("exp1", getExp1())
            .append("exp2", getExp2())
            .toString();
    }
}
